<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:f="http://java.sun.com/jsf/core"
       xmlns:c="http://java.sun.com/jsp/jstl/core">
    <h:head>
        <title>Detail van de reis</title>
        <h:outputStylesheet library="css" name="styles/style.css"  />
        <link rel="stylesheet" type="text/css" href="styles/style.css" />
    </h:head>
    <h:body>
        <h1>Detailpagina, hier wordende details weergegeven.</h1>
        <h2><h:outputLabel value="Bestemming: #{userpagesController.reisDetailPagina.reisNaam} " /></h2>
        <div><h:outputLabel value="#{userpagesController.bestemmingDetailpagina.bestemming} " /></div>
        <div><h:outputLabel value="Beschrijving van de reis : #{userpagesController.reisDetailPagina.beschrijving} " /></div>
        <div><h:outputLabel value="Vertrekdatum : #{userpagesController.reisDetailPagina.vertrekDatum} " /></div>
        <div><h:outputLabel value="Terugkeer datum : #{userpagesController.reisDetailPagina.terugkeerDatum} " /></div>
        <div><h:outputLabel value="Prijs per persoon : #{userpagesController.reisDetailPagina.prijsPerPersoon} " >
                <f:convertNumber type="currency" currencySymbol="€"/>
            </h:outputLabel>
        </div>
        <div><h:outputLabel value="Resterende plaatsen : #{userpagesController.reisDetailPagina.maxPlaatsen} " /></div>
        <div><h:outputLabel value="Vervoersmiddel: #{userpagesController.vervoersmiddelDetailpagina.vervoersMiddel} " /></div>
        <h:form>
        <div><h:commandLink action="#{userpagesController.gaNaarBoekingsPagina()}" value="detailpage"> 
                <f:param name="klantID" value="#{userManager.current.id}"/>
                <f:param name="reisID" value="#{userpagesController.reisDetailPagina.id}"/>
            </h:commandLink>
        </div>
        </h:form>
    </h:body>
</html>

